function add_Li_m(h3_1, jianjie_1){
    let a_li = '#';
    let a_img = '../Res/img/yyy_1.ico';
    let a_h3 = h3_1;
    let a_jianjie = jianjie_1;
    let n_time = new Date();
    let a_time = n_time.toLocaleDateString();
    function addLi(){
        var li_cl_mb =`<li><a href="${a_li}">
                        <div class="a_left"><img src="${a_img}" alt=""></div>
                        <div class="a_right">
                            <h3>${a_h3}</h3>
                            <p class="jianjie_1">${a_jianjie}</p>
                            <span class="time_1">${a_time}</span>
                        </div>
                    </a></li>`
        $('.liuyan_list').append(li_cl_mb)
    }
    addLi();
}
$('#search_1 img').click(
    function(){
        var val_1 = $('#search_1 input').val()
        window.open(`https://www.baidu.com/s?wd=${val_1}`)
    }
)
$.getJSON('../Res/json/liuyan.json', data =>{
    for(var i = 0; i < data.length; i++){
        add_Li_m(data[i].h3, data[i].jianjie);
    }
})
$('tj_1').click(function(){
    let h3 = $('set_h3').val();
    let jj = $('set_jj').val();

    add_Li_m(h3, jj);
}
)
  
